package com.bt.framework.helper

import android.app.Application

/**
 *@author:hxm
 *@date: 2025/6/19 0:26
 *@version:
 *@description:提供应用环境
 */
object SumAppHelper {

    private lateinit var app: Application
    private var isDebug = false

    fun init(application: Application, isDouble: Boolean) {
        this.app = application
        this.isDebug = isDouble
    }

    /**
     * 获取Application
     */
    fun getApplication() = app

    /**
     * 是否是debug模式
     */
    fun isDebug() = isDebug

}